{# src/Pyaf/GymBundle/Resources/views/AdminClase/new2Profesor.html.twig #}
{% extends "PyafGymBundle::layout_admin.html.twig" %}

{% block title %} Pyaf {% endblock %}

{% block content %}
<div class="container-fluid" id="content-area">
    <div class="row-fluid">
	<div class="span10 offset1">
            <div class="box">               
                <div class="box-head">
                    <i class="icon-list-ul"></i>
                    <span>Formulario de Profesor</span>
                </div>               
                <div class="box-body box-body-nopadding">                   
                    <div class="alert alert-info">
                            <i class="icon-info-sign icon-large"></i> This validation is done by <code>data-attributes</code>. <strong>No javascript needed</strong>.
                    </div>
                    <form action="{{ path('admin_clase_profesor_new') }}" method="post" class='form-horizontal form-bordered form-validate'>                     
                        <div>                            
                            <div class="controls">
                                <div style="padding: 20px 20px 20px 10%;">
                                {# {{ form_widget(formulario.codigoClase, { 'attr': {'class': 'disabled'} }) }} #}
                                    {{ form_widget(formulario) }}        
                                </div>
                            </div>
                        </div>
                        <div class="form-actions offset1">
                                <input type="submit" class="button button-basic-blue" value="Aceptar">
                                <button type="button" class="button button-basic">Cancelar</button>
                        </div>
                    </form>
                </div>
            </div>
        </div>
    </div>
</div>
{% endblock %}
